<?php
//插件路由
Route::any('addons/[:_addons]/[:_controller]/[:_action]', "\\app\\common\\controller\\AddonsController@index");
Route::group('', function () {
//验证码
    Route::group('open', function () {
        Route::get('wechat/callbak', 'open/wechatCallback/index');
        Route::get('captcha', 'open/captcha/verify');
        Route::group('upload', function () {
            Route::get('options', 'open/upload/options');
            Route::post('image', 'open/upload/image');
            Route::post('file', 'open/upload/file');
        });
    });
});
return [

];
